﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Browser;

namespace StudyEntry
{
    public partial class Page : UserControl
    {
        string _studyId;
        public Page(string StudyId)
        {
            InitializeComponent();
            _studyId = StudyId;
        }

        private void btnLogin_Click(object sender, RoutedEventArgs e)
        {
            HtmlPage.Window.Navigate(new Uri("StudyEnter.aspx?StudyId=" + _studyId,UriKind.Relative));
        }
    }
}
